<?php
$url = $this->context->id.'/'.$this->context->action->id;
?>
    <style>
        legend {
            width: auto !important;
            border-style: none !important;
        }
        .layui-tab-brief>.layui-tab-title .layui-this a {
            color: #009688 !important;
        }
        input{
            width: 20% !important;
            display: inline !important;
        }
    </style>
    <div class="ui-layout-center ui-layout-pane">
        <div class="container-div">
            <div class="row">
                <div class="col-sm-12 search-collapse" style="display: block">
                    <div class="layui-card-body">
                        <div class="layui-collapse like-layui-collapse" lay-accordion=""
                             style="border:1px dashed #c4c4c4">
                            <div class="layui-colla-item">
                                <h2 class="layui-colla-title like-layui-colla-title" style="background-color: #fff">操作提示<i
                                        class="layui-icon layui-colla-icon"></i></h2>
                                <div class="layui-colla-content layui-show">
                                    <p>具体看各配置描述信息；</p>
                                </div>
                            </div>
                        </div>
                    </div>
                    <form class="form-horizontal" id="form-config-site-site">
                        <div class="form-group">
                            <label class="col-sm-2 control-label is-required">配送费：</label>
                            <div class="col-sm-9">
                                <div>
                                    起步配送金额&emsp;<input type="number" name="start_price" value="<?=$model->start_price?>" class="form-control" autocomplete="off" required>&emsp;元&emsp;<input class="form-control" autocomplete="off" type="number" name="start_num" value="<?=$model->start_num?>" required>&emsp;件物品内
                                </div>
                                <div style="margin-top: 10px">
                                    每增加一件物品订单，增加&emsp;<input type="number" name="unit_price" value="<?=$model->unit_price?>" class="form-control" autocomplete="off" required>&emsp;元配送费
                                </div>
                            </div>
                        </div>
                        <div class="form-group text-center mt20">
                            <a href="javascript:;" class="btn btn-success btn-mid b5submit_btn"
                               data-target="form-config-site-site" data-url="<?=\yii\helpers\Url::to(['tran'])?>" data-title="确定提交配送费设置">保存</a>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
<?php $this->beginBlock('script'); ?>
    <script>
        
    </script>
<?php $this->endBlock(); ?>